package com.qiqidream.admin.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qiqidream.admin.system.model.entity.User;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UsernameNotFoundException;

/**
 * @author QiQiDream
 * @since 2019/11/18 10:53
 */
public interface UserService extends IService<User> {

    UserDetails loadUser(String userName) throws UsernameNotFoundException;
}
